﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;

namespace A2DFramework.Infrastructure.Mvc.VerficationCode
{
    public static class VerificationCodeHelper
    {
        public static string GetCurrentCode()
        {
            HttpContext ctx = HttpContext.Current;
            if(ctx==null)
                return null;

            return ctx.Session["A2D_code"] as string;
        }
    }
}
